package com.qianyue.decorator;

/**
 * @author your name
 * @version v1.0.0
 * @description 快餐
 * @since 2025/2/3 19:23
 */
public abstract class FastFood {
    private String description;

    private int price;

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public FastFood(String description, int price) {
        this.description = description;
        this.price = price;
    }

    public abstract int cost();
}
